package com.quyeying.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 商户认证表
 * </p>
 *
 * @author jll
 * @since 2022-12-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_merchant_authentication")
public class TblMerchantAuthenticationEntity extends Model<TblMerchantAuthenticationEntity> {

    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商户id
     */
    private Long merchantId;

    /**
     * 经营类目id
     */
    private Long categoryId;

    /**
     * 营业执照
     */
    private String businessLicense;

    /**
     * 法定代表人
     */
    private String legalPerson;

    /**
     * 授权函
     */
    private String authorization;

    /**
     * 商标注册证
     */
    private String trademarkCard;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
